#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
@AUTHOR: tyc
@VERSION: 1.0.0
@DESCRIPTION: 
@time: 2021-07-03 16:28:28 
"""
import requests

# 登录地址
url = "https://passport.17k.com/ck/user/login"
data_url = 'https://user.17k.com/ck/author/shelf?page=1&appKey=2406394919'
data = {
    'loginName': '18238827823',
    'password': 'tyc123456'
}
session = requests.session()
resp = session.post(url, data=data)
print(session.get(data_url).json())
# cookie = resp.cookies
# print(cookie)

